﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="dang-link-hay.ascx.cs" Inherits="UserControl_dang_link_hay" %>
<link href="/Styles/jquery.realperson.css" rel="stylesheet" />

<asp:MultiView ID="MultiView1" runat="server">
    <asp:View ID="View1" runat="server">
        <p class="form-Signin">
            <span class="form-labelS gopY-label">Liên kết:</span>
            <input type="text" id="txtLink" placeholder="đường link..." style="width: 490px;">
        </p>
        <p class="form-Signin">
            <span class="form-labelS gopY-label">Tiêu Đề:</span>
            <input type="text" id="txtTieuDe" onkeyup="countTitle(this);" maxlength="70" placeholder="tiêu đề..." style="width: 490px;">
            <span class="count-char-down" id="countTitle">70</span>
        </p>
        <p class="form-Signin">
            <span class="form-labelS gopY-label">Mô tả:</span>
            <textarea style="height: 100px; width: 490px;" onkeyup="countDescription(this);" maxlength="120" placeholder="mô tả..." id="txtMoTa"></textarea>
            <span class="count-char-down" id="countDesription">120</span>
        </p>
        <p class="form-Signin">
            <div style="float: right; margin-right: 55px;">
                <input type="text" id="txtCapcha" name="txtCapcha" placeholder="Nhập mã an toàn..." />
            </div>
            <div class="clr"></div>
        </p>
        <p class="form-Signin">
            <div style="float: right; margin-right: 55px;">
                <button class="w8-button l-blue" id="them-moi-link-hay" type="button">Thực hiện</button>
            </div>
            <div class="clr"></div>
        </p>
    </asp:View>
    <asp:View ID="View2" runat="server">
        <div class="textWaning" style="font-size: 16px; height: 10px; width: 98%; text-align: center; line-height: 160px;">
           Bạn phả đăng nhập mới thực hiện được chức năng này!.
        </div>
    </asp:View>
</asp:MultiView>
<script src="/Scripts/jquery.realperson.min.js"></script>
<script type="text/javascript">
    $('#txtCapcha').realperson({ includeNumbers: true, length: 5 });
    var userId = '<%=clsUsers.Users_GetValueCooKie(basConst.COOKIE_USER_ID)%>';
</script>
<script src="/Scripts/link-hay.js"></script>
